package util

import (
	"fmt"
	"strconv"
)

func Hex2Uint64(v string) (uint64, error) {
	var _v = RemoveHexPrefix(v)
	return strconv.ParseUint(_v, 16, 64)
}

func Uint642Hex(v uint64) string {
	return fmt.Sprintf("%v%x", HexPrefix, v)
}
